package cn.s1995.sloth.bizs.entity;

import cn.s1995.sloth.bizs.entity.base.BaseQueryEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 子区域
 *
 * @author Lex
 * @date 2024-01-18 10:20:16
 */
@Data
@Accessors(chain = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "子区域")
@TableName("world_subregions")
public class WorldSubregions extends BaseQueryEntity {


	/**
	* id
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "id")
    private Integer id;

	/**
	* name
	*/
    @Schema(description = "name")
    private String name;

	/**
	* translations
	*/
    @Schema(description = "translations")
    private String translations;

	/**
	* regionId
	*/
    @Schema(description = "regionId")
    private Integer regionId;

	/**
	* createdAt
	*/
    @Schema(description = "createdAt")
    private LocalDateTime createdAt;

	/**
	* updatedAt
	*/
    @Schema(description = "updatedAt")
    private LocalDateTime updatedAt;

	/**
	* flag
	*/
    @Schema(description = "flag")
    private Integer flag;

	/**
	* Rapid API GeoDB Cities
	*/
    @Schema(description = "Rapid API GeoDB Cities")
	@TableField("wikiDataId")
    private String wikiDataId;
}
